package com.anti.modular.bus.busprintsettings.service;

import com.anti.jdbc.support.page.PageParam;
import com.anti.jdbc.support.page.PageResult;
import com.anti.modular.bus.busprintsettings.entity.BusPrintSettings;
import com.anti.modular.bus.busprintsettings.param.BusPrintSettingsParam;
import com.anti.modular.bus.busprintsettings.result.BusPrintSettingsResult;

import java.util.List;

/**
 * 打印設置service接口
 *
 * @author anti
 * @date 2021-04-11 09:10:50
 */
public interface BusPrintSettingsService{

    /**
    * 根据主键查询实体
    */
    BusPrintSettings getById(BusPrintSettingsParam busPrintSettingsParam);

    /**
     * 查询打印設置
     *
     * @author anti
     * @date 2021-04-11 09:10:50
     */
    PageResult page(PageParam pageParam,BusPrintSettingsParam busPrintSettingsParam);

    /**
     * 打印設置列表
     *
     * @author anti
     * @date 2021-04-11 09:10:50
     */
    List<BusPrintSettings> list(BusPrintSettingsParam busPrintSettingsParam);

    /**
     * 添加打印設置
     *
     * @author anti
     * @date 2021-04-11 09:10:50
     */
    void add(BusPrintSettingsParam busPrintSettingsParam);

    /**
     * 删除打印設置
     *
     * @author anti
     * @date 2021-04-11 09:10:50
     */
    void delete(BusPrintSettingsParam busPrintSettingsParam);

    /**
     * 编辑打印設置
     *
     * @author anti
     * @date 2021-04-11 09:10:50
     */
    void edit(BusPrintSettingsParam busPrintSettingsParam);

    /**
     * 查看打印設置
     *
     * @author anti
     * @date 2021-04-11 09:10:50
     */
    BusPrintSettingsResult detail();

}
